﻿<UserControl x:Class="DomusDotNet.Sbm.Client.SL4.Views.LoginView"
			 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
			 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
			 xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
			 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
			 xmlns:tk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"
			 mc:Ignorable="d"
			 d:DesignHeight="300"
			 d:DesignWidth="400">

	<Grid>
		<Border Style="{StaticResource GreenPanel}"
				VerticalAlignment="Top"
				HorizontalAlignment="Center"
				Margin="0 50 0 0"
				Width="300">
			
			<tk:BusyIndicator Name="BusyState_IsSet">
				<StackPanel Margin="20">
					<TextBlock>Username</TextBlock>
					<TextBox Name="Username" />
					<TextBlock>Password</TextBlock>
					<PasswordBox Name="Password" />

					<TextBlock Name="ErrorMessage"
							   Style="{StaticResource Error}" />

					<Button Name="Login"
							Content="Login"
							HorizontalAlignment="Right" />

				</StackPanel>
			</tk:BusyIndicator>
		</Border>
	</Grid>
</UserControl>
